import request from '@/utils/request'

// 区域列表
export const getRegon = params => {
  return request.get('/vm-service/region/search', {
    params
  })
}
// 新增区域
export const addRegon = data => request.post('/vm-service/region', data)
// 查看区域详情
export const viewRegon = params => {
  return request.get('/vm-service/node/search', {
    params
  })
}
// 修改区域
export const modifyList = data => request.put(`/vm-service/region/${data.id}`, data)
// 删除区域
export const delListxx = id => request.delete(`/vm-service/region/${id}`)
